//
// Created by XiongYingqi on 14-5-21.
// Copyright (c) 2014 XiongYingqi. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "JSMessagesViewController.h"

@class XMPPUserCoreDataStorageObject;


@interface KRChatViewController2 : JSMessagesViewController

@property(weak, nonatomic) XMPPUserCoreDataStorageObject *withUser;

/**
* 根据jid获取ChatRoomViewController，如果已经创建则返回实例，如果从未打开过则创建实例
*/
+ (id)getRoom:(XMPPUserCoreDataStorageObject *)withUser;

@end